/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



@font-face {
    font-family: 'baron_neue_boldbold';
    src: url('fonts/Baron-Neue-Bold-webfont.eot');
    src: url('fonts/Baron-Neue-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/Baron-Neue-Bold-webfont.woff2') format('woff2'),
         url('fonts/Baron-Neue-Bold-webfont.woff') format('woff'),
         url('fonts/Baron-Neue-Bold-webfont.ttf') format('truetype'),
         url('fonts/Baron-Neue-Bold-webfont.svg#baron_neue_boldbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'icomoon';
	src:url('fonts/icomoon.eot?-aephxu');
	src:url('fonts/icomoon.eot?#iefix-aephxu') format('embedded-opentype'),
		url('fonts/icomoon.woff?-aephxu') format('woff'),
		url('fonts/icomoon.ttf?-aephxu') format('truetype'),
		url('fonts/icomoon.svg?-aephxu#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family:'baron_neue_boldbold', Montserrat, sans-serif;
    line-height:1.15;
}

h2 {
    text-align:center;
    font-size:40px;
    margin:0 0 40px 0;
    text-transform:uppercase;
}

h2 span {
    font-size:30px;
    width:100%;
    display:block;
    font-family: 'Courgette', cursive;
    font-weight:300;
    font-style:italic;
    margin-bottom:15px;
    text-transform:none;
}

p.title-subtext {
    text-align:center;
    margin-top: -10px;
    margin-bottom:35px;
}

.icon-icon-responsive:before {
	content: "\e600";
}

.icon-icon-coding:before {
	content: "\e601";
}


.full-page-wrap {
    width:100%;
    overflow:hidden;
}

body {
    /*overflow:hidden;*/
    font-family: 'Montserrat', sans-serif;
    line-height:1.6;
    color:#586673;
}

*, *:before, *:after { 
    -webkit-box-sizing: border-box; /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
     -moz-box-sizing: border-box;    /* Firefox 1 - 28 */
     box-sizing: border-box;         /* Safari 5.1+, Chrome 10+, Firefox 29+, Opera 7+, IE 8+, Android 4.0+, iOS any */
}
 
p a {
    color:inherit;
    text-decoration:none;
    border-bottom:1px dotted;
}

p a:hover {
    border-bottom:1px solid;
}

p.intro-para {
    color:#ffffff;
    text-align:center;
}

hr.thin-divider {
    width:10%;
    margin:0 auto 40px auto;
    border-top:1px solid #586673;
    border-bottom:0;
    opacity:0.8;
}

hr.thin-divider.white {
    border-top:1px solid #ffffff;
}

.header-wrapper {
    width:100%;
    position:absolute;
    top:0;
    bottom:0;
    background-color:#1d1d1d;
    background-image:url(../img/bg-mountains.jpg);
    background-size:cover;
    background-repeat:no-repeat;
}

.header-wrapper .main-logo {
    z-index:1980;
    position:relative;
    margin:0 auto;
    width:100%;
    max-width:1000px;
    display:block;
    top:30%;
}

.header-wrapper .down-arrow {
    z-index:1970;
    position:relative;
    margin:0 auto;
    width:48px;
    display:block;
    top:40%;
}

#big-video-wrap {
    display: none;
}

#big-video-image {
    width:100%;
}

.video-wrapper {
    position:absolute;
    top:0;
    bottom:0;
    width:100%;
    z-index:50;
    overflow:hidden;
}


.header-spacer {
    width:100%;
}

.video-overlay {
    color:#ffffff;
    z-index:60;
    position:absolute;
    width:100%;
    top:0;
    bottom:0;
    background:none;
    background-size:cover;
    background-position:center;
}

.video-overlay > div {
    width:50%;
    position:absolute;
    top:0;
    bottom:0;
    z-index:65;
    background-size:cover;
    background-position:center;
}

.video-overlay-left {
    left:0;
    background-image:url(../img/video-overlay-left.png);
}

.video-overlay-right {
    right:0;
    background-image:url(../img/video-overlay-right.png);
}

#big-video-wrap {
    position:absolute;
    top:0;
    bottom:0;
}

/*.particles-js {
    position:absolute;
    top:0;
    bottom:0;
    width:100%;
    z-index:99999;
    background:red;
}*/

.hero-triangle {
    position:absolute;
    right:0;
    top:0;
    width:50%;
    bottom:0;
    z-index:9999;
}

.big-text {
    position:absolute;
    z-index:9998;
    color:#ffffff;
    top:26%;
    font-size:160px;
    line-height:0.8;
    padding-left:70px;
    margin:0;
    text-transform: uppercase;
}

p.hero-intro {
    width:40%;
    color:#ffffff;
    position:Relative;
    z-index:9997;
    position:absolute;
    top:56%;
    padding-left:70px;
    font-size:19px;
}

.hero-triangle img.triangle {
    width:100%;
    height:100%;
    float:Right;
}

    
.home-link {
    max-width:230px;
    float:left;
    display:block;
    width:100%;
    margin-top:25px;
}

.home-link img {
    max-width:100%;
}

.full-width-container {
    width:100%;
    float:left;
    display:inline-block;
    background-color:#ffffff;
}

.full-width-container .inner-container {
    max-width:1250px;
    margin:0 auto;
    width:100%;
}

.full-width-container.navbar {
    width:100%;
    background-color:#272727;
    z-index:99;
    position:relative;
    top:0;
    padding:0;
}

.full-width-container.navbar ul {
    float:right;
    color:#ffffff;
    list-style:none;
    padding:0;
    margin:0;
}

.full-width-container.navbar ul li {
    float:left;
}

.full-width-container.navbar ul li a {
    padding:30px 40px;
    display:block;
    color:#ffffff;
    text-decoration:none;
    -webkit-transition: background-color 400ms ease-out;
    -moz-transition: background-color 400ms ease-out;
    -o-transition: background-color 400ms ease-out;
    transition: background-color 400ms ease-out;
}

.full-width-container.navbar ul li a:hover {
    background-color:rgb(255,255,255);
    background-color:rgba(255,255,255,0.1);
}

.full-width-container.intro {
    text-align:center;
    color:#586673!important;
}

.full-width-container.intro .inner-container {
    padding:80px;
}

.full-width-container.intro .inner-container h2, .full-width-container.intro .inner-container p {
    margin:0;
}

.full-width-container.intro .inner-container h2 {
    margin-bottom:30px;
}

.full-width-container.my-skills {
    /*background-image:url(../img/bg-development.jpg);
    background-size:cover;*/    
}


.full-width-container.my-skills .col-6 {
    width:50%;
    float:left;
    padding:130px 100px;
    text-align:center;
    /*color:#ffffff!important;*/
   
    background-size:cover;
}

.full-width-container.my-skills .col-6.right {
    background-color:#f2f4f7;
}

.full-width-container.my-skills .col-6.left {
    background-color:#ebeef2;
}


.full-width-container.my-skills .col-6 span.icon-icon-coding, .full-width-container.my-skills .col-6 span.icon-icon-responsive {
    max-height:190px;
    margin-bottom:30px;
    max-width:200px;
    font-size:185px;
    margin-bottom:30px;
    display:inline-block;
    /*color:#703030;*/
    
}

.full-width-container.my-skills .col-6 h3 {
    text-transform:uppercase;
    font-family:'baron_neue_boldbold', Montserrat, sans-serif;
    font-size:30px;
    margin:0;
}

.full-width-container.my-skills .col-6 p {
    margin-bottom:0;
}

.standard-padding {
    padding:80px 0;
}

.worked-with {
    background:#3b4753;
    padding-bottom:80px;
    background-image:url(../img/bg-worked-with.png);
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
    color:#ffffff;
}

.worked-with .logo-row {
    margin-bottom:40px;
    width:100%;
    float:left;
}

.worked-with .company-logo {
    width:12%;
    float:left;
    margin-left:10%
}

.worked-with .company-logo img {
    max-width:100%;
}

.worked-with .company-logo:first-child {
    margin-left:0;
}

/* full page js */

#fp-nav ul li a span, .fp-slidesNav ul li a span {
    background:#ffffff;
}

.vjs-big-play-button, .vjs-control-bar, .vjs-error-display, .vjs-caption-settings {
    display:none;
}

#tubular-container {
    position:relative!important;
}

#my-work {
    padding-left:25px;
    padding-right:25px;
}

#my-work a.link-box {
    width:23.5%;
    margin:0 0 25px 2%;
    float:left;
    background:#EBEEF2;
    position:relative;
}

#my-work .work-links a.link-box:first-child, #my-work .work-links a.link-box:nth-child(4n+1) {
    margin-left:0;
    clear:both;
}

#my-work a.link-box img {
    width:100%;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out; /* IE10 is actually unprefixed */
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix, .clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media only screen and (max-width: 1320px) {
    .full-width-container .inner-container {
        padding-left:25px;
        padding-right:25px;
    }
}

@media only screen and (max-width: 1150px) {
    .header-wrapper .main-logo {
        max-width:75%;
    }
}

@media only screen and (max-width: 1090px) {
    .home-link {
        max-width:180px;
        margin-top:17px;
    }
    
    .full-width-container.navbar ul li a {
        padding:20px 25px;
        font-size:15px;
    }
}

@media only screen and (max-width: 900px) { 
    .full-width-container.navbar ul li a {
        padding-left:20px;
        padding-right:15px;
    }
}


@media only screen and (max-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
    
    .full-width-container.navbar .inner-container {
        padding:0;
    }
    
    a.home-link {
        margin:0 auto;
        float:none;
        margin-top:15px;
        margin-bottom:15px;
        max-width:150px;
    }
    
    .full-width-container.navbar ul {
        width:100%;
    }
    
    .full-width-container.navbar ul li {
        width:20%;
        overflow:hidden;
        text-indent:-9000px;
        border-left:1px solid #353535;
        border-top:1px solid #353535;
    }
    
    .full-width-container.navbar ul li a {
        padding:15px 0;
    }
    
    .header-wrapper .main-logo {
        max-width:80%;
    }
    
    .full-width-container.my-skills .col-6 {
        width:100%;
        padding:60px 30px;
    }
    
    .worked-with .company-logo {
        width:50%;
        margin:0;
        text-align:center;
    }
    
        .worked-with .company-logo img {
            max-width:50%;
        }
        
        .full-width-container.intro .inner-container {
            padding:60px 30px;
        }
    
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
